package com.spider.im;

import com.spider.im.chat.server.NettyWebsocketServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.transaction.annotation.EnableTransactionManagement;


@EnableAspectJAutoProxy
@EnableTransactionManagement
@SpringBootApplication(exclude = {RedisAutoConfiguration.class})
public class SpiderImApplication {
    public static void main(String[] args) {
        SpringApplication.run(SpiderImApplication.class, args);
        new NettyWebsocketServer().start();
    }
}
